Skip to content

Conversation

@JKamsker
Copy link
Collaborator

@JKamsker JKamsker commented Oct 1, 2025

Summary

  • update BufferReader and BufferWriter to read and write Guid/ObjectId values using stackalloc-backed spans and MemoryMarshal to avoid per-call allocations
  • add span-based helpers in BufferSliceExtensions and introduce a System.Memory dependency for the netstandard2.0 target
  • extend BufferWriter tests to cover multi-segment Guid/ObjectId roundtrips and ensure endianness remains unchanged

Testing

  • dotnet build LiteDB/LiteDB.csproj -f netstandard2.0
  • dotnet test LiteDB.Tests/LiteDB.Tests.csproj -f net8.0

https://chatgpt.com/codex/tasks/task_e_68cfd6f2d184832aa3be1ba4c8834b7b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants